#ifndef _ERRORS_H
#define _ERRORS_H

/* Numeric errors */
#define ENUM_400	400 /* EBADREQUEST */
#define ENUM_401	401 /* ENOSUCHNICK */
#define ENUM_402	402 /* EINVALIDNICK */
#define ENUM_403	403 /* EINVALIDUSER*/
#define ENUM_404	404 /* EWRONGPASS */
#define ENUM_405	405 /* EOWNERKICK */
#define ENUM_406	406 /* EADMINKICK */
#define ENUM_407	407 /* EOWNERKILL */
#define ENUM_408	408 /* EADMINKILL */
#define ENUM_409	409 /* EBANNOWNER */
#define ENUM_410	410 /* EBANNADMIN */
#define ENUM_411	411 /* EPASSNOTMACH */
#define ENUM_412	412 /* EPASSCHANGE */
#define ENUM_413	413 /* EMOTDNOTFOUND */
#define ENUM_414	414 /* ENOTANOWNER */
#define ENUM_415	415 /* EOWNERBAN */
#define ENUM_416	416 /* EADMINBAN */
#define ENUM_417	417 /* ENOPROFILE */
#define ENUM_418	418 /* ENOSUCHTABLE */
#define ENUM_419	419 /* EPRIVATEJOIN */
#define ENUM_420	420 /* EBANNEDTABLE */
#define ENUM_421	421 /* EBANNEDSERVER */
#define ENUM_422	422 /* ENOTOPIC */
#define ENUM_423	423 /* EUSERIGNORE */
#define ENUM_424	424 /* EBLOCKADMIN */
#define ENUM_425	425 /* ENOTABLE */
#define ENUM_426	426 /* ETABLEFULL */
#define ENUM_427	427 /* EINVALIDTABLE */
#define ENUM_428	428 /* EALREADYOWNER*/
#define ENUM_429	429 /*EARENTADMIN*/

/* Ascii errors */

#define EBADREQUEST		"bad request! See HELP"
#define ENOSUCHNICK		"no such nickname"
#define	EINVALIDNICK	"invalid nickname"
#define EINVALIDUSER	"invalid username"
#define EWRONGPASS		"wrong password"
#define	EOWNERKICK		"can't kick an owner"
#define	EADMINKICK		"can't kick an administrator"
#define	EOWNERKILL		"can't kill an owner"
#define EADMINKILL		"can't kill an administrator"
#define EBANNOWNER		"can't ban an owner"
#define EBANNADMIN		"can't ban an administrator"
#define EPASSNOTMACH	"password doesn't match"
#define EPASSCHANGE		"can't change password"
#define EMOTDNOTFOUND	"no motd was found"
#define ENOTANOWNER		"you aren't table owner"
#define	EOWNERBAN		"can't ban an owner"
#define EADMINBAN		"can't ban an administrator"
#define	ENOPROFILE		"profile not available"
#define	ENOSUCHTABLE	"no such table name"
#define EPRIVATEJOIN	"can't join a private table"
#define	EBANNEDTABLE	"you are banned from this table"
#define EBANNEDSERVER	"you are banned from this server"
#define ENOTOPIC		"no topic for this table"
#define EUSERIGNORE		"user ignored you"
#define	EBLOCKADMIN		"you can't block a server administrator"
#define	ENOTABLE		"no tables were found on this server"
#define ETABLEFULL		"table is full"
#define EINVALIDTABLE	"invalid table name"
#define	EALREADYOWNER	"you already own a table"
#define	EARENTADMIN		"you aren't a server admin"

#endif

